//
// Created by wukj on 2022/11/28.
//


#include <jni.h>

#include "VideoRecorder.h"
#include <LogUtil.h>

jint JNI_OnLoad(JavaVM *vm, void *reserved) {
    JNIEnv *jniEnv{nullptr};
    if (vm->GetEnv((void **) &jniEnv, JNI_VERSION_1_6) != JNI_OK) {
        LOGCATI("----------------------JNI version error!");
        return JNI_EVERSION;
    }
    LOGCATI("----------------------VideoRecorder.cpp->JNI_OnLoad");
    return JNI_VERSION_1_6;
}

